package com.ruoyi.pidaijiData.domain.plat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.convert.ArrayToJsonDeserializer;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.pad.ChartLineDTO;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 皮带机速度测试项数据对象 data_pidaiji_sudu
 * 
 * @author ruoyi
 * @date 2024-03-04
 */
public class DataPidaijiSudu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 速度id */
    private Long sdId;

    /** 任务id */
    @Excel(name = "任务id")
    private Long dataTaskId;

    /** 平板id */
    private Long id;

    /** 平板任务id */
    @Excel(name = "平板任务id")
    private Long taskId;

    /** 输送质量 */
    @Excel(name = "输送质量")
    private String shszhl;

    /** 最大加速度 */
    @Excel(name = "最大加速度")
    private String maxAcc;

    /** 最大减速度 */
    @Excel(name = "最大减速度")
    private String minAcc;

    /** 最大速度 */
    @Excel(name = "最大速度")
    private String maxSpeed;

    /** 最大输送量 */
    @Excel(name = "最大输送量")
    private String maxShSL;

    /** 启动时间 */
    @Excel(name = "启动时间")
    private String qdTime;

    /** 制动时间 */
    @Excel(name = "制动时间")
    private String zhdTime;

    /** 速度List */
    @Excel(name = "速度List")
    @JsonDeserialize(using = ArrayToJsonDeserializer.class)
    private String suduList;

    /**
     * 速度Svg
     */
    private String sdSvg;

    /** 速度线 */
    private ChartLineDTO sdChartLineDTO;

    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date saveTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setSdId(Long sdId) 
    {
        this.sdId = sdId;
    }

    public Long getSdId() 
    {
        return sdId;
    }
    public void setDataTaskId(Long dataTaskId) 
    {
        this.dataTaskId = dataTaskId;
    }

    public Long getDataTaskId() 
    {
        return dataTaskId;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setShszhl(String shszhl) 
    {
        this.shszhl = shszhl;
    }

    public String getShszhl() 
    {
        return shszhl;
    }
    public void setMaxAcc(String maxAcc) 
    {
        this.maxAcc = maxAcc;
    }

    public String getMaxAcc() 
    {
        return maxAcc;
    }
    public void setMinAcc(String minAcc) 
    {
        this.minAcc = minAcc;
    }

    public String getMinAcc() 
    {
        return minAcc;
    }
    public void setMaxSpeed(String maxSpeed) 
    {
        this.maxSpeed = maxSpeed;
    }

    public String getMaxSpeed() 
    {
        return maxSpeed;
    }
    public void setMaxShSL(String maxShSL) 
    {
        this.maxShSL = maxShSL;
    }

    public String getMaxShSL() 
    {
        return maxShSL;
    }
    public void setQdTime(String qdTime) 
    {
        this.qdTime = qdTime;
    }

    public String getQdTime() 
    {
        return qdTime;
    }
    public void setZhdTime(String zhdTime) 
    {
        this.zhdTime = zhdTime;
    }

    public String getZhdTime() 
    {
        return zhdTime;
    }
    public void setSuduList(String suduList) 
    {
        this.suduList = suduList;
    }

    public String getSuduList() 
    {
        return suduList;
    }
    public void setSaveTime(Date saveTime) 
    {
        this.saveTime = saveTime;
    }

    public Date getSaveTime() 
    {
        return saveTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public ChartLineDTO getSdChartLineDTO() {
        return sdChartLineDTO;
    }

    public void setSdChartLineDTO(ChartLineDTO sdChartLineDTO) {
        this.sdChartLineDTO = sdChartLineDTO;
    }

    public String getSdSvg() {
        return sdSvg;
    }

    public void setSdSvg(String sdSvg) {
        this.sdSvg = sdSvg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sdId", getSdId())
            .append("dataTaskId", getDataTaskId())
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("shszhl", getShszhl())
            .append("maxAcc", getMaxAcc())
            .append("minAcc", getMinAcc())
            .append("maxSpeed", getMaxSpeed())
            .append("maxShSL", getMaxShSL())
            .append("qdTime", getQdTime())
            .append("zhdTime", getZhdTime())
            .append("suduList", getSuduList())
            .append("saveTime", getSaveTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
